package com.book.bookprojectapplication.writing.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.book.bookprojectapplication.R;
import com.book.bookprojectapplication.write.activity.WriteActivity;

public class WritingActivity extends FragmentActivity implements OnClickListener {



	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.contentlist);

		Button writingbtn = (Button) findViewById(R.id.writingbtn);
		writingbtn.setOnClickListener(this);
		Button followbtn = (Button) findViewById(R.id.followbtn);
		followbtn.setOnClickListener(this);
		Button writebtn = (Button) findViewById(R.id.writebtn);
		writebtn.setOnClickListener(this);

	
	}



	@Override
	public void onClick(View v) {

		switch (v.getId()) {

		case R.id.writingbtn:
		
			break;
		case R.id.followbtn:
			
			break;
		case R.id.writebtn:
			Intent it = new Intent(WritingActivity.this, WriteActivity.class);
			startActivity(it);
			break;

		}

	}

}
